Automattic\Jetpack\Plugins_Installer S

Total Complexity 48
Dependencies 4
Dependents 9
Total lines 275
Lines of code 147
Logical lines of code 90
Comment lines 90
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
is_current_request_activating_plugin_from_plugins_screen()
A
47 14 31
install_plugin()
A
47 9 34
install_and_activate_plugin()
S
55 6 20
get_plugin_id_by_slug()
S
58 5 15
get_plugins()
S
58 4 15
get_plugin_status()
S
66 3 9
ensure_plugin_functions_are_loaded()
S
73 2 5
get_slug_from_file_path()
S
68 2 7
generate_wordpress_org_plugin_download_link()
S
79 1 3
is_plugin_active()
S
76 1 4
is_plugin_active_for_network()
S
76 1 4